package ch03.demo.test;

import org.junit.jupiter.api.Test;

public class Demo {
    private static Demo demo;

    private Demo() {

    }
    public static Demo getDemo(){
        if(demo==null){
            demo=new Demo();
        }
        return  demo;
    }
}
